bits to our ld invocation as suggested at
http://lists.qt-project.org/pipermail/development/2015-September/023299.html
if test $QT_FW_OR_LIBS = "**Unknown**" ; then
QT_FW_OR_LIBS=$($QMAKE -query QT_INSTALL_LIBS)
fi
- QT_LIBS="-F$QT_FW_OR_LIBS -framework QtCore"
+ QT_LIBS="-Wl,-rpath, $QT_FW_OR_LIBS -F$QT_FW_OR_LIBS -framework QtCore"
QT_INC="$QT_FW_OR_LIBS"
QT_INC_OPT="-F"
QT_SYSINC_OPT="-iframework"
if test $QT_FW_OR_LIBS = "**Unknown**" ; then
QT_FW_OR_LIBS=$($QMAKE -query QT_INSTALL_LIBS)
fi
- QT_LIBS="-F$QT_FW_OR_LIBS -framework QtCore"
+ QT_LIBS="-Wl,-rpath, $QT_FW_OR_LIBS -F$QT_FW_OR_LIBS -framework QtCore"
QT_INC="$QT_FW_OR_LIBS"
QT_INC_OPT="-F"
QT_SYSINC_OPT="-iframework"